import {trigger, state, style, animate, transition} from '@angular/animations';
//自动属性计算
export const   shrinkOut=trigger('shrinkOut', [
  state('in', style({height: '*'})),
  transition('* => void', [
    style({height: '*'}),
    animate(250, style({height: 0}))
  ])
]);
